<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>中奖列表</title>
  <script src="./node_modules//react/umd/react.development.js"></script>
  <script src="./node_modules//react-dom/umd/react-dom.development.js"></script>
  <div id="root"></div>
  <script>
    let item = React.createElement('div',{className: 'item', title: '列表'},
      React.createElement('h2', {className: 'title'},'中奖列表',
      React.createElement('ul',{className: 'title'},
        React.createElement('li',null,'1.老王'),
        React.createElement('li',{onClick: function(){alert('李四')}},'2.老六'),
        React.createElement('li',null,'3.小屁孩子'),
      ))
    )

    let root = ReactDOM.createRoot(document.getElementById('root'))

    root.render(item)
  </script>
</head>
<body>
  
</body>
</html>